/* layer color */
body .demo-class .layui-layer-title {
  background: #2265a7;
  color: #fff;
  border: none;
}
body .demo-class .layui-layer-btn {
  border-top: 1px solid #e9e7e7;
}
body .demo-class .layui-layer-btn a {
  background: #2265a7;
}
body .demo-class .layui-layer-btn .layui-layer-btn1 {
  background: #999;
}

.loading {
  text-align: center;
  padding-top: 20px;
}
.loading img {
  width: 100px;
}

/* 顶部导航 */
.navbar-mini {
  min-height: 30px;
  margin-bottom: 0;
  border: 0;
}

.top-nav.navbar-default {
  border-radius: 0;
  border-bottom: 0px solid #eee;
  background-color: #f4f4f4;
}

.top-nav.navbar-default .dropdown-menu {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.navbar-nav > li > a {
  padding-top: 6px;
  padding-bottom: 6px;
}
.top-nav.navbar-default .navbar-nav > li > span,
.top-nav.navbar-default .navbar-nav > li > a {
  font-size: 12px;
  display: inline-block;
}

.navbar-nav > li > p {
  padding-right: 10px;
  font-size: 12px;
  color: #777;
}

.navbar-nav .nav-login {
  font-size: 16px;
  font-weight: 400;
  padding: 8px 25px;
  margin-top: 20px;
  margin-bottom: 22px;
  margin-left: 15px;
  -webkit-transition: all 0.2s;
  border-radius: 5px;
}
.navbar-nav .nav-login a {
  color: #2c66ab;
}

.navbar-nav .nav-account {
  margin: 25px 5px 22px 25px;
}

.navbar-nav .nav-account .avatar-img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  border-radius: 15px;
}
.navbar-nav .nav-account a {
  color: #6a6a6a;
  font-size: 16px;
}

.top-nav.navbar-default .pull-right > li {
  padding-left: 16px;
  height:30px;
  line-height: 30px;
}

.top-nav.navbar-default .pull-right > li:after {
  background-color: #ddd;
  bottom: 0;
  content: '';
  display: block;
  position: absolute;
  top: 9px;
  left: 6px;
  height: 13px;
  width: 1px;
}
.top-nav.navbar-default .pull-right > li:first-child:after {
  width: 0px;
}

.top-nav.navbar-default .pull-right .iconfont {
  font-size: 15px;
}

.nav > li > a {
  padding: 5px 6px;
}

.top-nav.navbar-default .navbar-right > li > a:focus {
  background: #f5f7fa;
  color: #777;
}
.top-nav.navbar-default .navbar-right > li > a:hover {
  color: #1c72db;
  background: #fff;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  padding: 5px 5px;
}

.top-nav.navbar-default .navbar-right > li > a:hover .fa-angle-down {
  transform: rotateZ(180deg);
  -webkit-transform: rotateZ(180deg);
  -moz-transform: rotateZ(180deg);
  -o-transform: rotateZ(180deg);
  -ms-transform: rotateZ(180deg);
}

.top-nav.navbar-default .dropdown:hover .dropdown-menu {
  display: block;
  border-top: 0;
  border-color: #eee;
}

.main-nav {
  margin-bottom: 0px;
  color: #444444;
}

@media (min-width: 768px) {
  .main-nav.navbar-default {
    background: #fff;
    border-radius: 0;
    border: 0;
    z-index: 998;
    min-height: 80px;
    /* box-shadow: 0 1px 5px 0 rgba(70,70,70,.392); */
  }
  .main-nav.navbar-default .navbar-brand {
    padding-right: 15px;
    font-size: 26px;
    color: #1c72db;
  }
  .main-nav.navbar-default .navbar-brand > span {
    color: #1c72db;
  }
  .main-nav.navbar-default .navbar-brand img {
    height: 42px;
  }
  .main-nav.navbar-default .navbar-nav > li > a {
    color: #6a6a6a;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 25px;
    margin-top: 20px;
    margin-bottom: 22px;
    margin-left: 8px;
    -webkit-transition: all 0.2s;
    border-radius: 5px;
  }
  .main-nav.navbar-default .navbar-nav > li > a:focus,
  .main-nav.navbar-default .navbar-nav > li > a:hover,
  .main-nav.navbar-default .navbar-nav > li.active > a,
  .main-nav.navbar-default .navbar-nav > li.active > a:hover {
    background: #fff;
    color: #1a6bd9;
  }
  .main-nav.navbar-default .navbar-nav > li.dropdown.open > a {
    background: #fff;
    color: #1a6bd9;
  }
  .main-nav.navbar-default
    .navbar-nav
    > li.dropdown.open
    > .dropdown-menu
    > li
    > a:focus,
  .main-nav.navbar-default
    .navbar-nav
    > li.dropdown.open
    > .dropdown-menu
    > li
    > a:hover {
    background: #fff;
    color: #1a6bd9;
  }
  .main-nav.navbar-default .navbar-btn {
    margin-top: 21px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .navbar-collapse-main {
    padding-left: 40px;
  }
  .main-nav.navbar-default {
    background: #fff;
    border-radius: 0;
    border: 0;
  }
  .main-nav.navbar-default .navbar-brand {
    font-size: 16px;
    color: #1c72db;
  }
  .main-nav.navbar-default .navbar-brand span {
    color: #1c72db;
    font-size: 16px !important;
  }
  .main-nav.navbar-default .navbar-brand img {
    height: 32px;
    margin-top: -6px;
  }
  .main-nav.navbar-default .navbar-toggle {
    border: 0;
  }
  .main-nav.navbar-default .navbar-toggle .icon-bar {
    background-color: #888;
  }
  .main-nav.navbar-default .navbar-toggle:hover {
    background-color: #ddd;
  }
  .main-nav.navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #888;
  }
  .main-nav.navbar-default .navbar-nav > li > a {
    color: #777;
    -webkit-transition: all 0.2s;
  }
  .main-nav.navbar-default .navbar-nav > li > a:focus,
  .main-nav.navbar-default .navbar-nav > li > a:hover,
  .main-nav.navbar-default .navbar-nav > li.active > a,
  .main-nav.navbar-default .navbar-nav > li.active > a:hover {
    background: #fff;
    color: #1c72db;
  }
  .main-nav.navbar-default .navbar-nav > li.dropdown.open > a {
    background: #fff;
  }
  .main-nav.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #777;
  }
  .main-nav.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
    background: #fff;
    color: #1c72db;
  }
}

/*底部*/

.footer {
  margin-top: 40px;
  padding: 40px 0 0;
  color: #8b8d8d;
  background: #25292c;
}

.footer a {
  color: #999;
}

.footer .footer-container {
  display: table;
  width: 100%;
  font-size: 12px;
  word-spacing: -1em;
}

.footer .footer-widget {
  padding: 0 15px;
  margin-bottom: 30px;
  float: none;
  display: inline-block;
  vertical-align: top;
  background: none;
  border: 0;
}

.footer .footer-widget-title {
  padding: 0;
  border: 0;
  margin: 0 0 15px;
  font-size: 16px;
  color: #ccc;
}

.footer-widget ul,
.footer-widget ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget li {
  margin-bottom: 2px;
}

.footer .footer-widget a {
  color: #999;
}

.widget-contact-wrap .widget-contact-tel {
  padding-bottom: 15px;
  font-size: 28px;
  line-height: 1;
  color: #ddd;
}

.footer .copyright {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #333;
}

@media (max-width: 767px) {
  .footer {
    padding: 0px;
    margin: 0px;
  }
  .footer .copyright {
    margin: 0;
    border: 0;
  }
}

/**右侧*/

.widget {
  background: #fff;
  padding: 15px 10px 10px;
}

.widget .widget-title {
  border-left-color: #00a381;
}

.widget .widget-title {
  padding-left: 6px;
  border-left: 3px solid #08c;
  margin: 5px 0 12px;
  font-size: 16px;
  color: #424242;
  font-weight: 400;
}

.widget .widget-body {
  padding-left: 10px;
  margin: 12px 0 5px;
}

.widget .widget-body ul {
  margin: 0;
  padding: 0;
}

.widget .widget-body ul li {
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

.widget .widget-body ul li a {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}

.widget .widget-body ul li:last-child {
  border-bottom: 0px;
}

.widget .widget-body ul li a:hover {
  color: #1c72db;
}

/*右侧-产品*/

.widget .widget-product {
  height: 60px;
  padding: 5px 0px;
}

.widget .widget-product img {
  height: 50px;
}

.widget .widget-product-content {
  font-size: 13px;
  margin-top: 8px;
}

.widget .widget-product .widget-product-title {
  margin-bottom: 5px;
}

/*分页*/

.pagination {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 7px 8px;
  margin-left: 5px;
  line-height: 1;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
  -webkit-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  vertical-align: top;
}

.pagination a:hover {
  color: #fff;
  background: #1c72db;
  border-color: #1c72db;
}

.pagination .current {
  color: #fff;
  background: #3b83da;
  border-color: #3b83da;
}

.pagination a.disabled {
  background-color: #edeeef;
}
.pagination a:hover.disabled {
  background-color: #edeeef;
  border: 1px solid #edeeef;
  color: #727e90;
  cursor: not-allowed;
}

/*贷款申请*/
.loan-apply {
  margin-top: 60px;
}
.loan-apply .loan-apply-content {
  height: 205px;
  border-left: dashed 1px #e5e5e5;
  text-align: left;
  padding: 10px 20px;
}
.loan-apply .loan-apply-content p {
  font-size: 13px;
}
.loan-apply .service {
  font-size: 12px;
}

.loan-apply .btn-step {
  margin-top: 5px;
  width: 200px;
  background-color: #f19100;
  color: #fff;
  height: 36px;
}
.loan-apply .btn-step:hover {
  background-color: #e58a01;
}

/**表格**/
.table body > tr,
.table tbody > tr > td,
.table thead > tr {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.table tbody > tr:hover > td {
  background: #ecf6fd;
}

.table tr .table-expanded-row,
.table tr .table-expanded-row:hover {
  background: #fbfbfb;
}

.table tr .table-expanded-row {
  display: none;
}

/*calc*/
.dialog {
  position: fixed;
  width: calc(100vw);
  height: calc(100vh);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  top: 0px;
  left: 0px;
}
.dialog .calculator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 350px;
  margin-top: -150px;
  margin-left: -400px;
  background-color: #fff;
  padding: 20px 50px;
}
.calculator .cal-title {
  padding: 10px;
  font-size: 20px;
  color: #000;
  text-align: center;
}
.calculator .cal-title span {
  font-size: 16px;
  color: #555;
  margin-left: 20px;
}
.calculator .cal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.calculator .calc-cont {
  width: 600px;
  padding: 10px 0px;
}
.calculator .calc-cont div {
  display: table-cell;
  width: 300px;
  text-align: center;
}
.calculator .calc-cont div .key {
  width: 70px;
  line-height: 32px;
  text-align: right;
  display: inline-block;
}
.calculator .calc-cont div .unit {
  position: absolute;
  right: 55%;
  top: 24.5%;
}
.calculator .calc-cont div:nth-child(2) .unit {
  position: relative;
  top: 0px;
  left: -24px;
}
.calculator .calc-cont .dropdown {
  width: 168px;
  height: 32px;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 3px;
}
#cal_month_money,
#cal_interest_money,
#cal_all_money {
  color: #ff5722;
}
/*calc  end*/
/*applyTab*/
.dialog-applyTab {
  z-index: 10000;
}
.dialog .applyTab-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  height: 160px;
  margin-top: -100px;
  margin-left: -200px;
  background-color: #fff;
  padding: 20px 50px;
  text-align: center;
}
.applyTab-wrap .applyTab-close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.apply-tab {
  width: 300px;
  text-align: center;
  padding-top: 20px;
  margin: 0 auto;
}
.apply-tab a {
  display: inline-block;
  width: 100px;
  height: 36px;
  line-height: 36px;
  font-size: 16px;
  margin: 15px;
  color: #fff;
  border-radius: 5px;
}
.apply-tab a:hover {
  color: #fff;
  background: #1a6bd9;
}
.dialog .apply-btn {
  background: #1a6bd9;
}
.dialog .profile-btn {
  background: #bfbfbf;
}

/*apply-wrap*/
.dialog-apply {
  z-index: 10001;
}
.dialog .apply-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 200px;
  margin-top: -100px;
  margin-left: -250px;
  background-color: #fff;
  padding: 20px 50px;
  text-align: center;
}
.apply-wrap p {
  font-size: 20px;
  color: #1a6bd9;
  margin-top: 35px;
}
.apply-known {
  width: 100%;
  margin-top: 35px;
  height: 36px;
  line-height: 36px;
}
.apply-known a {
  display: block;
  width: 140px;
  height: 36px;
  line-height: 36px;
  font-size: 20px;
  background: #52ab5c;
  color: #fff;
  margin-left: 130px;
}

/*dialog-profile*/
.dialog-profile {
  z-index: 10002;
}
.dialog .pro {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 480px;
  margin-top: -240px;
  margin-left: -400px;
  padding: 20px 50px;
  background-color: rgba(250, 249, 249, 0.95);
  text-align: center;
}
.pro .profile-close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.pro .col-md-6 {
  margin-top: 30px;
}
.pro .col-md-6 div {
  margin-bottom: 25px;
}

.pro .col-md-6 div input[type='text'],
.pro .col-md-6 div select {
  width: 238px;
  height: 24px;
  line-height: 24px;
  border-color: #cfcece;
}

.pro .col-md-6 div label {
  margin-left: 10px;
}

.pro .col-md-6 div span {
  display: inline-block;
  width: 85px;
}

.pro-btn {
  display: block;
  margin: 20px auto 0px auto;
  width: 137px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background-color: #1a6bd9;
  border-radius: 5px;
  font-size: 16px;
}
.cb {
  clear: both;
}
.pro-btn:hover {
  color: #fff;
}

/* paging */

.paging {
  margin-top: 30px;
  text-align: center;
}

.paging a {
  text-decoration: none;
}

.paging span.count {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  border: 1px solid #e8e8e8;
  color: #727e90;
  padding: 0px 7px;
  border-radius: 2px;
}

.paging a.prev,
.paging a.next {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  border: 1px solid #e8e8e8;
  color: #727e90;
  padding: 0px 7px;
  border-radius: 2px;
  transition: background-color 0.2s linear;
}

.paging a.prev:hover,
.paging a.next:hover {
  border: 1px solid #1a6bd9;
  background-color: #1a6bd9;
  color: #fff;
}

.paging span.page a,
.paging span.page span {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  border: 1px solid #e8e8e8;
  color: #727e90;
  padding: 0px 7px;
  border-radius: 2px;
  transition: background-color 0.2s linear;
}

.paging span.page a:hover,
.paging span.page a.active {
  border: 1px solid #1a6bd9;
  background-color: #1a6bd9;
  color: #fff;
}

/* avalon */
.ms-controller {
  visibility: hidden;
}

/* ajax */

.global-ajax-layer {
  position: fixed;
  width: 100%;
  height: calc(100vh);
  top: 0px;
  left: 0px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/assets/images/loading.gif);
  z-index: 9999;
}

/* imgupload */
.global-upload-layer{
  position: fixed;
  width: 100%;
  height: calc(100vh);
  line-height: calc(115vh);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color:#FFF;
  font-size:36px;
  top: 0px;
  left: 0px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/assets/images/loading.gif);
  z-index: 9999;
}

.global-review-layer {
  position: fixed;
  width: 100%;
  height: calc(100vh);
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.global-review-layer img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* message */

a.message-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(/assets/images/ring.png);
  background-repeat: no-repeat;
  vertical-align: middle;
  position: relative;
}

a.message-icon span {
  position: absolute;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
  right: -5px;
  top: -5px;
  background-color: #ff0000;
}

/* nav footer*/

.global-nav {
  width: 100%;
  height: 110px;
}

.global-footer {
  width: 100%;
  height: 258px;
}
